Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.drive.cache--caches

This contribution is part of XML component org.nuxeo.drive.cache inside nuxeo-runtime-8.10.jar /Users/arnaud/Work/Nuxeo/distrib/nuxeo-server-8.10-tomcat/nxserver/config/nuxeo-drive-cache-config.xml

Extension Point

Extension point caches of component CacheService.

Contributed Items

  • <cache class="org.nuxeo.ecm.core.cache.InMemoryCacheImpl" name="driveSyncRoot">
          <option name="maxSize">10000</option>
          <option name="concurrencyLevel">4</option>
          <ttl>1</ttl>
        </cache>
  • <cache class="org.nuxeo.ecm.core.cache.InMemoryCacheImpl" name="driveCollectionSyncRootMember">
          <option name="maxSize">10000</option>
          <option name="concurrencyLevel">4</option>
          <ttl>1</ttl>
        </cache>
  • <cache class="org.nuxeo.ecm.core.cache.InMemoryCacheImpl" name="driveDescendantsScroll">
          <ttl>20</ttl><!-- minutes -->
          <option name="maxSize">100</option>
          <option name="concurrencyLevel">500</option>
        </cache>

XML Source

<extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">

    <cache class="org.nuxeo.ecm.core.cache.InMemoryCacheImpl" name="driveSyncRoot">
      <option name="maxSize">10000</option>
      <option name="concurrencyLevel">4</option>
      <ttl>1</ttl>
    </cache>

    <cache class="org.nuxeo.ecm.core.cache.InMemoryCacheImpl" name="driveCollectionSyncRootMember">
      <option name="maxSize">10000</option>
      <option name="concurrencyLevel">4</option>
      <ttl>1</ttl>
    </cache>

    <cache class="org.nuxeo.ecm.core.cache.InMemoryCacheImpl" name="driveDescendantsScroll">
      <ttl>20</ttl><!-- minutes -->
      <option name="maxSize">100</option>
      <option name="concurrencyLevel">500</option>
    </cache>

  </extension>